import numpy as np

# https://numpy.org/doc/1.18/reference/random/generated/numpy.random.RandomState.normal.html#numpy.random.RandomState.normal
# np.random.standard_normal(100000)
mu, sigma = -5, 4  # mean and standard deviation
s = np.random.normal(mu, sigma, 20)
print(s)
s = np.random.normal(mu, sigma, 10)
print(s)
s = np.random.normal(mu, sigma, 10)
print(s)
left, mode, right = 10, 20, 45
s = np.random.triangular(left, mode, right, 10)
print(s)
left, mode, right = 8, 12, 30
s = np.random.triangular(left, mode, right, 10)
print((left + 4 * mode + right) / 6)
print(np.average(s))
print("seed")
np.random.seed(5)
loc, scale = -5, 3
component_delivery_delays = np.random.normal(loc, scale, 24)
print(component_delivery_delays)
np.random.seed(5)
component_delivery_delays = np.random.normal(loc, scale, 24)
print(component_delivery_delays)
